home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Gold Collection
/
Software Vault - The Gold Collection (American Databankers) (1993).ISO
/
cdr11
/
powerb5.zip
/
P5DOS001.TIP
< prev
next >
Wrap
Text File
|
1993-06-01
|
1KB
|
28 lines
DOS's COMP program compares a pair of files and tells you if
they're the same, but most users don't know that it can also
compare several pairs of files in this way. It's all done
with directory names and wild cards. For instance, imagine
that you've backed up a directory called TEXT to a floppy.
If you type COMP TEXT A: at the DOS prompt, COMP will check
each file in TEXT against a file with the same name on drive
A:, if such a file exists. Using a wild card in the first
argument narrows the list; COMP TEXT\*.EXT A: compares every
file in TEXT that has the extension EXT with its counterpart
on drive A:. If the second argument has a wild card, it
tells COMP to change the names of the files specified by the
first argument in some way before looking for files to
compare. For instance, COMP TEXT A:*.BAK takes each file
from TEXT and tries to compare it to a file on drive A: with
the same name and the extension BAK.
Bert Halverson Jr.
Muldrow, Oklahoma
Title: Group Compare
Category: DOS
Issue Date: March, 1992
Editor: Brett Glass
Supplementary Files: None
Filename: P5DOS001.TIP